<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../css/layout.css" rel="stylesheet" type="text/css" />
<link href="css/shop.manage.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {color: #000000}
-->
</style>
<smart>include file ='../head.config.html'</smart>
</head>
<body>
<div id="container760"> <smart>include file ='../header.html'</smart><smart>include file ='../PathLinksLevel.html'</smart>
<smart>include file ='own_menu.html'</smart>
  <div style="float:right; width:100%; margin:0 -160px 0 10px; display:block">
    <div style="margin:0 160px 0 0">
      <UL class="item_list_title">
	  
	  	<smart> if $type eq '' </smart>
        	<LI class="selected"><A href="#" ><STRONG>投诉/举报</STRONG></A> </LI>
		<smart> else </smart>
			<LI><A href="own_complaint.php" >投诉/举报</A> </LI>
		<smart> /if </smart>
		
		<smart> if $type eq 'complaint' </smart>
			<LI class="selected"><A href="#" ><STRONG>投诉</STRONG></A> </LI>
		<smart> else </smart>
			<LI><A href="own_complaint.php?type=complaint&send_receive=receive&state=handling">投诉</A> </LI>
		<smart> /if </smart>
		
        <smart> if $type eq 'report' </smart>
			<LI class="selected"><A href="#" ><STRONG>举报</STRONG></A> </LI>
		<smart> else </smart>
			<LI><A href="own_complaint.php?type=report&send_receive=receive&state=handling">举报</A> </LI>
		<smart> /if </smart>
		
      </UL>
	  
      <div id="item_list_border">
	  		<!--投诉/举报-->
      		<smart> if $type eq '' </smart>
			<DIV>
				<DIV id=left style="width:280px; float:left; padding-left:8px"><br/>
					<DIV style="height:50px"><SPAN>买卖双方在交易环节中用于检举对方违规行为、协助解决交易纠纷的一种途径。</SPAN></DIV>
					<DIV style="margin-bottom:20px">
						<TABLE width="100" height="174" border=1 align=center cellPadding=0 cellSpacing=0 bordercolor="#E7E7E7" bgColor=#cccccc>
							<TBODY>
								<TR>
									<TH height="23" align="center" valign="middle" bgcolor="#f2f2f2">&nbsp;</TH>
									<TH align="center" valign="middle" bgcolor="#f2f2f2">处理中</TH>
									<TH align="center" valign="middle" bgcolor="#f2f2f2">已结束</TH>
								</TR>
								<TR>
									<TH width="34%" height="25" align="center" valign="middle" bgcolor="#f2f2f2">收到的投诉</TH>
									<TD height="25" align="center" valign="middle" bgcolor="#FFFFFF"><smart> $complaint_receive_handling </smart> </TD>
									<TD height="25" align="center" valign="middle" bgcolor="#FFFFFF"><smart> $complaint_receive_handed </smart> </TD>
								</TR>
								<TR>
									<TH height="25" align="center" valign="middle" bgcolor="#f2f2f2">作出的投诉</TH>
									<TD height="25" align="center" valign="middle" bgcolor="#FFFFFF"><smart> $complaint_send_handling </smart> </TD>
									<TD height="25" align="center" valign="middle" bgcolor="#FFFFFF"><smart> $complaint_send_handed </smart> </TD>
								</TR>
							</TBODY>
					  </TABLE>
					</DIV>
					<P ><A href="own_complaint.php?type=complaint&send_receive=receive&state=handling">查看详细信息&gt;&gt;</A></P>
					<DIV style="margin-bottom:20px; padding-top:5px">
						<P style="FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #f60">发起投诉</P>
						<P>
						如果您在交易中产生纠纷，您可以：<BR>
						1.在“<A href="<smart> $site_url </smart>/member/own_order.php?action=bought">已买到的宝贝</A>”相应交易中投诉卖家；
					  <BR/>2.在“<A href="<smart> $site_url </smart>/member/own_order.php?action=sold">已卖出的宝贝</A>”相应交易中投诉买家。</P>
					</DIV>
			  </DIV>
				
				<DIV id=right style="width:280px; float:right; padding-right:10px"><br/>
					<DIV style="height:50px"><SPAN>与被举报人无实际交易产生，但发现其在淘宝网上有违规情况，可以通过举报途径告知淘宝，举报为匿名。</SPAN></DIV>
					<DIV style="margin-bottom:20px">
					<TABLE width="100" height="173" border=1 align=center cellPadding=0 cellSpacing=0 bordercolor="#E7E7E7" bgColor=#cccccc>
						<TBODY>
							<TR>
								<TH height="21" align="center" valign="middle" bgcolor="#F2F2F2"></TH>
								<TH align="center" valign="middle" bgcolor="#F2F2F2">处理中</TH>
								<TH align="center" valign="middle" bgcolor="#F2F2F2">已结束</TH>
							</TR>
							<TR>
								<TH width="34%" height="23" align="center" valign="middle" bgcolor="#F2F2F2">收到的举报</TH>
								<TD height="23" align="center" valign="middle" bgcolor="#FFFFFF"><smart> $report_receive_handling </smart> </TD>
								<TD height="23" align="center" valign="middle" bgcolor="#FFFFFF"><smart> $report_receive_handed </smart> </TD>
							</TR>
							<TR>
								<TH height="23" align="center" valign="middle" bgcolor="#F2F2F2">作出的举报</TH>
								<TD height="23" align="center" valign="middle" bgcolor="#FFFFFF"><smart> $report_send_handling </smart> </TD>
								<TD height="23" align="center" valign="middle" bgcolor="#FFFFFF"><smart> $report_send_handed </smart> </TD>
							</TR>
						</TBODY>
					</TABLE>
					</DIV>
					<P><A href="own_complaint.php?type=report&send_receive=receive&state=handling">查看详细信息&gt;&gt;</A></P>
					<DIV style="margin-bottom:20px;padding-top:5px">
					<P style="FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #f60">发起举报</P>
					<P>1.举报违规商品，请到该商品详细页面，点击页面右上角的“举报该商品”进行举报。<A href="" target=_blank>如何举报</A>？<BR>
					  2.举报会员其他问题，请在此点击 <A href="" target=_blank>举报会员</A> </P>
					</DIV>
			  </DIV>
			</DIV><br/>

		<P style="FONT-SIZE: 12px; width:100%; COLOR: red; TEXT-INDENT: 25px; LINE-HEIGHT: 18px; margin-top:2px; display:block; float:left">
				
				为了改进我们投诉举报服务的质量，并最终为您提供更好的服务，请您在百忙之余别忘了积极参与我们的投诉举报满意度调查哦。
				<br />
			<span class="STYLE1" style=" margin-top:5px">　　请客观地向淘宝反映您所遇到的真实情况，以共同维护一个诚信和公平的
					
					购物环境。</span></P>
				<br/>
				<smart> /if </smart>
                <!--投诉/举报end-->
                <!--投诉-->
                <smart> if $type eq 'complaint' </smart>
<div id="WarningBox">
              <ul>
				<li>1.投诉是买卖双方在交易环节中用于检举对方违规行为、协助解决交易纠纷的一种途径。</li>
                <li>2.如您想投诉交易对方，请在<a href="own_order.php?action=bought">已买到的宝贝</a>相应交易中投诉卖家；在<a href="own_order.php?action=sold">已卖出的宝贝</a>相应交易中投诉买家。</li>
				<li>3.如果您收到的投诉属于"收款不发货"、"商品与网上描述不符"，请在"退款管理"中查看。</li>
              </ul>
        </div>
			<div id="TableListBox">
				<ul id="MainPrimary">
					<smart> if $send_receive eq 'receive' </smart>
						<li>我收到的投诉</li>
					<smart> else </smart>
						<li><a href="own_complaint.php?type=complaint&send_receive=receive&state=handling">我收到的投诉</a></li>
					<smart> /if </smart>
					<smart> if $send_receive eq 'send' </smart>
						<li>我作出的投诉</li>
					<smart> else </smart>	
						<li><a href="own_complaint.php?type=complaint&send_receive=send&state=handling">我作出的投诉</a></li>
					<smart> /if </smart>
				</ul>
				<div id="MainFunction" align="right">
					<select id="isarchive" name="isarchive" onchange="location.href='own_complaint.php?type=<smart> $type </smart>&send_receive=<smart> $send_receive </smart>&state=<smart> $state </smart>&date_line='+this.value">
					  <option <smart> if $date_line eq 'recent' || $date eq '' </smart> selected="selected" <smart> /if </smart> value="recent">查看近期记录</option>
					  <option <smart> if $date_line eq 'history' </smart> selected="selected" <smart> /if </smart> value="history">查看历史记录</option>
					</select>
				</div>
			<smart> if $send_receive eq 'receive' </smart><!--我收到的投诉-->
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tbody>
				<tr>
                  <th align="center" width="14%">投诉编号</th>
                  <th align="center" width="30%">相关交易</th>
                  <th align="center" width="12%">投诉人</th>
                  <th align="center" width="14%">投诉原因</th>
                  <th align="center" width="8%">
                   <select id="processStatus" name="processStatus" onchange="location.href='own_complaint.php?type=<smart> $type </smart>&send_receive=<smart> $send_receive </smart>&state='+this.value">
                      <option <smart> if $state eq 'all' </smart> selected="selected" <smart> /if </smart> value="all">状态</option>
					  <option <smart> if $state eq 'handling' </smart> selected="selected" <smart> /if </smart> value="handling">处理中</option>
					  <option <smart> if $state eq 'handed' </smart> selected="selected" <smart> /if </smart> value="handed">已结束</option>
					</select>
				  </th>
				  <th align="center" width="14%">发起时间</th>
                  <th align="center" width="8%">操作</th>
                </tr>
				<!--循环部分-->
				<smart> section name=loop loop=$complaint_receive_list </smart>
				<tr>
                  <td align="center" widtd="14%"><smart> $complaint_receive_list[loop].complaint_report_id </smart></td>
                  <td align="center" widtd="30%"><a href="<smart> $site_url </smart>/home/product.php?action=view&pid=<smart> $complaint_receive_list[loop].p_code </smart>" target="_blank"><smart> $complaint_receive_list[loop].p_name </smart></a></td>
                  <td align="center" widtd="12%"><a href="<smart> $site_url </smart>/store/userinfo.php?userid=<smart> $complaint_receive_list[loop].member_id </smart>" target="_blank"><smart> $complaint_receive_list[loop].login_name </smart></a></td>
                  <td align="center" widtd="14%">
				  <smart> assign var = 'c_r_type' value = $complaint_receive_list[loop].c_r_type </smart>
				  <smart> $baseconfig_type[$c_r_type] </smart>
				  </td>
                  <td align="center" widtd="8%">
				  <smart> assign var = 'c_r_handling' value = $complaint_receive_list[loop].c_r_handling_state </smart>
				  <smart> $baseconfig_handling[$c_r_handling] </smart>
				  </td>
				  <td align="center" widtd="14%"><smart> $complaint_receive_list[loop].c_r_add_time|date_format:"%Y/%m/%d" </smart></td>
                  <td align="center" widtd="8%"><a href="own_complaint.php?action=view&type=<smart> $type </smart>&complaint_report_id=<smart> $complaint_receive_list[loop].complaint_report_id </smart>">查看</a></td>
                </tr>
				<smart> /section </smart>
                <tr>
                  <td colspan="7" align="right"><smart> $page_list </smart></td>
                </tr>
              	</tbody>
			  </table>
			  <smart> /if </smart>
			  
			  <smart> if $send_receive eq 'send' </smart><!--我作出的投诉-->
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tbody>
				<form action="own_complaint.php?action=del" method="post" onsubmit="if(confirm('确定要撤销选中的投诉吗?')){return true;}else{return false;}">
				<tr>
                  <th align="center" width="4%">选</th>
                  <th align="center" width="14%">投诉编号</th>
                  <th align="center" width="26%">相关交易</th>
                  <th align="center" width="12%">被投诉人</th>
                  <th align="center" width="14%">投诉原因</th>
                  <th align="center" width="8%">
                  <select id="processStatus" name="processStatus" onchange="location.href='own_complaint.php?type=<smart> $type </smart>&send_receive=<smart> $send_receive </smart>&state='+this.value">
                      <option <smart> if $state eq 'self_all' </smart> selected="selected" <smart> /if </smart> value="self_all">状态</option>
					  <option <smart> if $state eq 'handling' </smart> selected="selected" <smart> /if </smart> value="handling">处理中</option>
					  <option <smart> if $state eq 'handling_no' </smart> selected="selected" <smart> /if </smart> value="handling_no">|-对方未申诉</option>
					  <option <smart> if $state eq 'handling_have' </smart> selected="selected" <smart> /if </smart> value="handling_have">|-对方已申诉</option>
					  <option <smart> if $state eq 'handed' </smart> selected="selected" <smart> /if </smart> value="handed">已结束</option>
					</select>
				  </th>
				  <th align="center" width="14%">发起时间</th>
                  <th align="center" width="8%">操作</th>
                </tr>

				<!--循环部分-->
				<smart> section name=loop loop=$complaint_receive_list </smart>
				<tr>
                  <td align="center" widtd="4%">
				  <smart> if $complaint_receive_list[loop].c_r_handling_state eq 0 || $complaint_receive_list[loop].c_r_handling_state eq 1 </smart>
				  <input name="complaint_report_id[]" type="checkbox" value="<smart> $complaint_receive_list[loop].complaint_report_id </smart>" />
				  <smart> /if </smart>
				  </td>
                  <td align="center" widtd="14%"><smart> $complaint_receive_list[loop].complaint_report_id </smart></td>
                  <td align="center" widtd="26%"><a href="<smart> $site_url </smart>/home/product.php?action=view&pid=<smart> $complaint_receive_list[loop].p_code </smart>" target="_blank"><smart> $complaint_receive_list[loop].p_name </smart></a></td>
                  <td align="center" widtd="12%"><a href="<smart> $site_url </smart>/store/userinfo.php?userid=<smart> $complaint_receive_list[loop].c_r_member_id </smart>" target="_blank"><smart> $complaint_receive_list[loop].c_r_login_name </smart></a></td>
                  <td align="center" widtd="14%">
				  <smart> assign var = 'c_r_type' value = $complaint_receive_list[loop].c_r_type </smart>
				  <smart> $baseconfig_type[$c_r_type] </smart>
				  </td>
                  <td align="center" widtd="8%">
				  <smart> assign var = 'c_r_handling' value = $complaint_receive_list[loop].c_r_handling_state </smart>
				  <smart> $baseconfig_handling[$c_r_handling] </smart>
				  </td>
				  <td align="center" widtd="14%"><smart> $complaint_receive_list[loop].c_r_add_time|date_format:"%Y/%m/%d" </smart></td>
                  <td align="center"widtd="8%"><a href="own_complaint.php?action=view&type=<smart> $type </smart>&complaint_report_id=<smart> $complaint_receive_list[loop].complaint_report_id </smart>">查看</a></td>
                </tr>
				<smart> /section </smart>
				<tr>
				  <td colspan="4" align="left">
			      <input type="submit" name="Submit2" value="撤销投诉" /></td>
                  <td colspan="4" align="right"><smart> $page_list </smart></td>
                </tr>
              	</form>
				</tbody>
			  </table>
			  <smart> /if </smart>
            </div>
            <p style="text-indent: 25px; line-height: 18px; font-size: 12px; color: red;">为了改进我们投诉举报服务的质量，并最终为您提供更好的服务，请您在百忙之余别忘了积极参与我们的投诉举报满意度调查哦。</p>
            <div id="BottomBox" align="center">请客观地向淘宝反映您所遇到的真实情况，以共同维护一个诚信和公平的购物环境。</div>
			<smart> /if </smart>
			<!--投诉end-->
	
	
			<!--举报-->
			<smart> if $type eq 'report' </smart>
			<div id="WarningBox">
              <ul>
				<li>1.举报是与被举报人无实际交易产生，但发现其在淘宝网上有违规情况时告知淘宝的途径，淘宝的举报制度规定为匿名举报。</li>
                <li>2.如您想举报违规商品，请到该商品详细页面，点击页面右上角的“举报该商品”进行举报。若想发起针对会员的举报请点击：<a href="own_complaint.php?action=report_member&step=one" target="_blank">举报会员</a></li>
              </ul>
            </div>
			<div id="TableListBox">
				<ul id="MainPrimary">
					<br/>
					<smart> if $send_receive eq 'receive' </smart>
						<li>我收到的举报</li>
					<smart> else </smart>
						<li><a href="own_complaint.php?type=report&send_receive=receive&state=handling">我收到的举报</a></li>
					<smart> /if </smart>
					<smart> if $send_receive eq 'send' </smart>
						<li>我作出的举报</li>
					<smart> else </smart>	
						<li><a href="own_complaint.php?type=report&send_receive=send&state=handling">我作出的举报</a></li>
					<smart> /if </smart>
				</ul>
				<div id="MainFunction" align="right">
					<select id="isarchive" name="isarchive" onchange="location.href='own_complaint.php?type=report&send_receive=<smart> $send_receive </smart>&state=<smart> $state </smart>&date_line='+this.value">
					  <option <smart> if $date_line eq 'recent' || $date eq '' </smart> selected="selected" <smart> /if </smart> value="recent">查看近期记录</option>
					  <option <smart> if $date_line eq 'history' </smart> selected="selected" <smart> /if </smart> value="history">查看历史记录</option>
					</select>
				</div>
			<!--我收到的举报-->
				<smart> if $send_receive eq 'receive' </smart>
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tbody>
				<tr>
                  <th align="center" width="14%">举报编号</th>
                  <th align="center" width="54%">举报原因</th>
                  <th align="center" width="8%">
                    <select id="processStatus" name="processStatus" onchange="location.href='own_complaint.php?type=report&send_receive=receive&state='+this.value">
                      <option <smart> if $state eq 'all' </smart> selected="selected" <smart> /if </smart> value="all">状态</option>
					  <option <smart> if $state eq 'handling' </smart> selected="selected" <smart> /if </smart> value="handling">处理中</option>
					  <option <smart> if $state eq 'handed' </smart> selected="selected" <smart> /if </smart> value="handed">已结束</option>
					</select>
                  </th>
				  <th align="center" width="14%">发起时间</th>
                  <th align="center" width="8%">操作</th>
                </tr>
				<!--循环部分-->
				<smart> section name=loop loop=$complaint_receive_list </smart>
				<tr>
                  <td align="center" widtd="14%"><smart> $complaint_receive_list[loop].complaint_report_id </smart></td>
                  <td align="center" widtd="54%">
				  <smart> assign var = 'c_r_type' value = $complaint_receive_list[loop].c_r_type </smart>
				  <smart> $baseconfig_type[$c_r_type] </smart>
				  <smart> if $c_r_type eq 12</smart>
				  		-	<a href="<smart> $site_url </smart>/home/product.php?action=view&pid=<smart> $complaint_receive_list[loop].c_r_related_product </smart>" target="_blank"><smart> $complaint_receive_list[loop].c_r_related_name </smart></a>
				  <smart> /if </smart>
				  </td>
                  <td align="center" widtd="8%">
				  <smart> assign var = 'c_r_handling' value = $complaint_receive_list[loop].c_r_handling_state </smart>
				  <smart> $baseconfig_handling[$c_r_handling] </smart></td>
				  <td align="center" widtd="14%"><smart> $complaint_receive_list[loop].c_r_add_time|date_format:"%Y/%m/%d" </smart></td>
                  <td align="center" widtd="8%"><a href="own_complaint.php?action=view&type=<smart> $type </smart>&complaint_report_id=<smart> $complaint_receive_list[loop].complaint_report_id </smart>">查看</a></td>
                </tr>
				<smart> /section </smart>
                <tr>
                  <td colspan="7" align="right"><smart> $page_list </smart></td>
                </tr>
              </tbody></table>
			  <smart> /if </smart>
			  <!--我收到的举报end-->
			  
			  <!--我作出的举报-->
				<smart> if $send_receive eq 'send' </smart>
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tbody>
				<tr>
                  <th align="center" width="14%">举报编号</th>
                  <th align="center" width="44%">举报原因</th>
                  <th align="center" width="12%">被举报人</th>
                  <th align="center" width="8%">
				  <select id="processStatus" name="processStatus" onchange="location.href='own_complaint.php?type=report&send_receive=send&state='+this.value">
                      <option <smart> if $state eq 'all' </smart> selected="selected" <smart> /if </smart> value="all">状态</option>
					  <option <smart> if $state eq 'handling' </smart> selected="selected" <smart> /if </smart> value="handling">处理中</option>
					  <option <smart> if $state eq 'handling_no' </smart> selected="selected" <smart> /if </smart> value="handling_no">|-对方未申诉</option>
					  <option <smart> if $state eq 'handling_have' </smart> selected="selected" <smart> /if </smart> value="handling_have">|-对方已申诉</option>
					  <option <smart> if $state eq 'handed' </smart> selected="selected" <smart> /if </smart> value="handed">已结束</option>
					</select>
				  </th>
				  <th align="center" width="14%">发起时间</th>
                  <th align="center" width="8%">操作</th>
                </tr>
				<!--循环部分-->
				<smart> section name=loop loop=$complaint_receive_list </smart>
				<tr>
                  <td align="center" widtd="14%"><smart> $complaint_receive_list[loop].complaint_report_id </smart></td>
                  <td align="center" widtd="44%">
				  <smart> assign var = 'c_r_type' value = $complaint_receive_list[loop].c_r_type </smart>
				  <smart> $baseconfig_type[$c_r_type] </smart>
				  
				  <smart> if $c_r_type eq 12</smart>
				  		-	<a href="<smart> $site_url </smart>/home/product.php?action=view&pid=<smart> $complaint_receive_list[loop].c_r_related_product </smart>" target="_blank"><smart> $complaint_receive_list[loop].c_r_related_name </smart></a>
				  <smart> /if </smart>
				  </td>
                  <td align="center" widtd="12%"><a href="<smart> $site_url </smart>/store/userinfo.php?userid=<smart> $complaint_receive_list[loop].c_r_member_id </smart>" target="_blank"><smart> $complaint_receive_list[loop].c_r_login_name </smart></a></td>
				  <td align="center" widtd="8%">
				  <smart> assign var = 'c_r_handling' value = $complaint_receive_list[loop].c_r_handling_state </smart>
				  <smart> $baseconfig_handling[$c_r_handling] </smart></td>
				  <td align="center" widtd="14%"><smart> $complaint_receive_list[loop].c_r_add_time|date_format:"%Y/%m/%d" </smart></td>
                  <td align="center" widtd="8%"><a href="own_complaint.php?action=view&type=<smart> $type </smart>&complaint_report_id=<smart> $complaint_receive_list[loop].complaint_report_id </smart>">查看</a></td>
                </tr>
				<smart> /section </smart>
                <tr>
                  <td colspan="7" align="right"><smart> $page_list </smart></td>
                </tr>
              </tbody></table>
			  <smart> /if </smart>
			  <!--我作出的举报end-->
			  
            </div><br />

            
            <P style="FONT-SIZE: 12px; width:100%; COLOR: red; TEXT-INDENT: 25px; LINE-HEIGHT: 18px; margin-top:2px; display:block; float:left">
				
				为了改进我们投诉举报服务的质量，并最终为您提供更好的服务，请您在百忙之余别忘了积极参与我们的投诉举报满意度调查哦。
				<br />
			<span class="STYLE1" style=" margin-top:5px">　　请客观地向淘宝反映您所遇到的真实情况，以共同维护一个诚信和公平的
					
					购物环境。</span></P>
			<smart> /if </smart>
			<!--举报end-->
<div style="clear:both"></div>
      </div>
    </div>
	
  </div>
  <smart>include file ='../footer.html'</smart></div>

</body>
</html>
